<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
	<meta content="black" name="apple-mobile-web-app-status-bar-style"/>
	<meta content="telephone=no" name="format-detection"/>
<title>个人中心</title>
<link href="<%=path%>/css/stlye.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	(function() {
		var el = document.createElement("STYLE");
		var docEl = document.documentElement;
		var portrait = ((Math.min(docEl.clientWidth, docEl.clientHeight) / 320) * 10);
		var landscape = ((Math.max(docEl.clientWidth, docEl.clientHeight) / 568) * 17.75);
		el.innerHTML = "@media screen and (orientation:portrait) { html { font-size: " + portrait + "px!important; } }\n@media screen and (orientation:landscape) { html { font-size: " + landscape + "px!important; } }";
		docEl.firstElementChild.appendChild(el);
	})();
	
</script>

</head>

<body>
<c:choose>
	<c:when test="${not empty userInfoVO.nickName}">
	<a href="javascript:void(0)">
		<div class="top">
			<div class="top_loft">
				<img src="${userInfoVO.headImage}" width="100%" height="100%" />
			</div>
			<div class="top_inherit"><fns:encodes type="2" value="${userInfoVO.nickName}"></fns:encodes></div>
			<div class="top_right"><img src="<%=path %>/images/da.gif" width="100%" height="100%" /></div>
		</div>
	</a>
	</c:when>
	<c:otherwise>
	<a href="<%=path%>/check/loadNickName">
		<div class="top">
			<div class="top_loft">
				<img src="<%=path %>/images/touxiang.gif" width="100%" height="100%" />
			</div>
			<div class="top_inherit">点击获取微信头像和昵称</p></div>
			<div class="top_right"><img src="<%=path %>/images/da.gif" width="100%" height="100%" /></div>
		</div>
	</a>
	</c:otherwise>
</c:choose>

<c:choose>
	<c:when test="${not empty deliveryAddressId }">
	<a href="<%=path%>/check/address/toUpdate/${deliveryAddressId}">
		<div class="pailie">
			<p>收货信息</p>
			<div class="xiao">
				<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
			</div>
		</div>
	</a>
	</c:when>
	<c:otherwise>
	<a href="<%=path%>/check/address/toInsert">
		<div class="pailie">
			<p>收货信息</p>
			<div class="xiao">
				<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
			</div>
		</div>
	</a>
	</c:otherwise>
</c:choose>


<a href="<%=path %>/views/html5/trade/trade_list.jsp"> 
	<div class="pailie">
		<p>我的订单</p>
		<div class="xiao">
			<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
		</div>
	</div>
</a>

<a href="<%=path%>/views/html5/coupon/my_coupon.jsp"> 
	<div class="pailie">
		<p>我的兑换码</p>
		<div class="xiao">
			<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
		</div>
	</div>
</a>

<a href="<%=path%>/check/invitation/toInvit"> 
	<div class="pailie">
		<p>免费领取兑换券</p>
		<div class="xiao">
			<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
		</div>
	</div>
</a>

<a href="<%=path %>/views/html5/about/contact_us.jsp">
	<div class="pailie">
		<p>联系我们</p>
		<div class="xiao">
			<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
		</div>
	</div>
</a>
  
<a href="<%=path %>/views/html5/about/about_us.jsp">
	<div class="pailie">
		<p>关于我们</p>
		<div class="xiao">
			<img src="<%=path %>/images/xiao.png" width="100%" height="100%"/>
		</div>
	</div>
</a>
<jsp:include page="/views/html5/commons/footer.jsp"></jsp:include>
</body>
</html>
